package com.vlin.token;


public interface TokenManager extends TokenRefresher {
	
	public void setTokenCacheManager(TokenCache manager);
	
	public TokenCache getTokenCacheManager();
	
	public boolean useTokenCache();

	public Token getToken(String key);
	
	public Token getToken();
	
	public void setTokenRefresher(TokenRefresher tokenRefresher);
	
	public String getDefaultTokenKey();
	
	public void setDefaultTokenKey(String key);
}
